Get Reversal Requests
GET /reversal-requests
Parameters
- tenantId (
string, header, required): The ID of the tenant. - reversalRequest (
object, query, required): The reversal request object. - pageable (
object, query, required): Pagination information.
Responses
200 OK
- Media Type:
application/json
Example Value
{
"message": "string",
"data": [
{
"id": "string",
"tenantId": "string",
"merchantId": "string",
"businessId": "string",
"countryCode": "string",
"type": "REVERSAL",
"paymentMethod": "QR",
"status": "PENDING",
"reference": "string",
"amount": 0,
"statusMessage": "string",
"attempts": 0,
"nextRetry": "2024-07-18T17:10:16.894Z",
"extra": {
"comment": "string",
"accountDetails": {
"accountNumber": "string",
"bankCode": "string"
},
"returnedProductDetails": [
{
"productId": "string",
"quantity": 0
}
]
},
"createdAt": "2024-07-18T17:10:16.894Z",
"updatedAt": "2024-07-18T17:10:16.894Z"
}
],
"meta": {
"currentPage": 0,
"from": 0,
"to": 0,
"perPage": 0,
"total": 0,
"lastPage": 0
}
}
LANGUAGE
CURL REQUEST
curl --request GET \
--url /reversal-requests \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!